﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ly
{
    class Program
    {
        static void Main(string[] args)
        {
            Plane plane = new Plane("民用飞机",257);
            plane.Fly();
            plane.Land();
            plane.TakeOff();
            plane.CarryPassange();


            Console.WriteLine("------------------");

            Bird bird = new Bird("老鹰","吃");
            bird.Fly();
            bird.Land();
            bird .TakeOff();
            bird.Eat();

            Console.WriteLine("------------------");

            Superman sm = new Superman("开心超人","吃");
            sm.Fly();
            sm.Land();
            sm.TakeOff();
            sm.Eat();

        }
    }
}
